package com.cssw.fyzb.core.dao.pay;

import com.cssw.fyzb.core.model.dodb.QuickPayOrder;

import java.math.BigDecimal;

/**
 * @Author: yangyiqun
 * @Date: 2021/2/17 14:20
 */
public interface QuickPayOrderDao {
    Long save(Long userId, String certCode, String busiType, BigDecimal amount, String goodsName, String goodsDesc, String orderNo, String busiNo);

    void updateSuccess(Long payId);

    void updateFail(Long payId, String errorCode, String errorMsg);

    QuickPayOrder getByOrderNo(String orderNo);
}